<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2023/6/22
  Time: 13:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="menu.jsp"%>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/admin/admin_index">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="#">用户管理</a><span class="crumb-step">&gt;</span><span>修改信息</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="/admin/admin_updateUser" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <input type="hidden" name="id" value="${u.id}">
                    <input type="hidden" name="cp" value="${cp}">
                    <input type="hidden" name="file" value="${u.photo}">
                    <table class="insert-tab" width="100%">
                        <tbody><tr>
                            <th width="120"><i class="require-red">*</i>账号：</th>
                            <td>
                                <input class="common-text required" id="number" name="number" size="50" value="${u.number}" type="text">
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>网名：</th>
                            <td>
                                <input class="common-text required" id="netname" name="netname" size="50" value="${u.netname}" type="text">
                            </td>
                        </tr>
                        <tr>
                            <th>实名：</th>
                            <td>
                                <input class="common-text required" id="turename" name="turename" size="50" value="${u.turename}" type="text">
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>密码：</th>
                            <td><input class="common-text" name="password" size="50" placeholder="......." type="password"></td>
                        </tr>
                        <tr>
                            <th>卡号：</th>
                            <td><input class="common-text required" id="bankCard" name="bankCard" size="50" value="${u.bankCard}" type="text"></td>
                        </tr>
                        <tr>
                            <th>头像（可不传）：</th>
                            <td>
                                <input name="photo" id="photo" type="file">
                                <c:if test="${u.photo != null && !u.photo.equals('')}">
                                <img src="../upload/${u.photo}" width="43" height="43">
                                </c:if>
                            </td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                <input class="btn btn6" onClick="history.go(-1)" value="返回" type="button">
                            </td>
                        </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
</body>
</html>
